<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 
<%@ page import="com.lmpop.trade.ts_category.*" %>
<%@ page import="com.lmpop.trade.tb_commpara.Tb_commparaInfo" %>
<jsp:useBean id="randomId" class="com.lmpop.frame.util.RandomID" scope="page" /> 
<%
	String resume_id="";
  	if(request.getParameter("resume_id")!=null) resume_id = request.getParameter("resume_id");
	
	String work_id = randomId.GenTradeId();
	Tb_commparaInfo tb_commparaInfo = new Tb_commparaInfo(); 

	String salary = tb_commparaInfo.getSelectItem("54","");
	String cust_type = tb_commparaInfo.getSelectItem("52","");
	String cust_size = tb_commparaInfo.getSelectItem("53","");

	Ts_categoryInfo ts_categoryInfo = new Ts_categoryInfo();
    String select = ts_categoryInfo.getSelCatByTLevel("6", "1");
	String career_type = ts_categoryInfo.getSelCatByTLevel("9", "1");
	
	String cust_id="",publish_user_id="";
	if(session.getAttribute("session_cust_id")!=null){
		cust_id  = session.getAttribute("session_cust_id").toString();
	}
	if(session.getAttribute("session_user_id")!=null){
		publish_user_id  = session.getAttribute("session_user_id").toString();
	}
%>
<html>
  <head>
    <title>发布工作经历</title>
	<link href="/program/admin/index/css/style.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="biz.js"></script>
</head>

<body>
	<h1>发布工作经历</h1>
	
	<!--
	<table width="100%" align="center" cellpadding="0" cellspacing="0" class="dl_so">
        <tr>
          <td width="9%" align="center"><img src="/program/admin/index/images/ban_01.gif" /></td>
          <td width="91%" align="left">
		  <h4>-----------------</h4>
		  <span>1----------------。</span><br/>
		  <span>2----------------。</span>
		  </td>
        </tr>
      </table>
      <br/>
	  -->
	
	<form action="/doTradeReg.do" method="post" name="addForm">
	
	<table width="100%" cellpadding="0" cellspacing="1" border="0" class="listtab">
		

		<tr>
			<td  colspan="4">
		   &nbsp;&nbsp;<img src="/program/admin/images/infotip.gif" border="0">&nbsp;&nbsp;
		   <span style="font-size:14px;font-weight:bold;">工作经验（<font color="red">*</font>为必填项）</span>			
		   </td>
		</tr>

		<tr>
			<td align="right" width="20%">
				 企业名称<font color="red">*</font>
			</td>
			<td colspan="3">
				  <input type="text" name="company" id="company" size="62" maxlength="200" />
			 </td>
		</tr>

		<tr>
		  <td align="right" width="20%">企业性质<font color="red">*</font></td>	   
		  <td width="28%">
			  <select name="cust_type" id="cust_type">
				<%=cust_type%>
			 </select>	  
		  </td>
		  <td width="12%" align="right">企业规模<font color="red">*</font></td>
		  <td width="50%">
			<select name="cust_size" id="cust_size">
				<%=cust_size%>
			 </select>
		  </td>
		</tr>
		
		<tr>
			<td align="right" width="20%">
				 行业类别<font color="red">*</font>
			</td>
			<td colspan="3">	 
				<select name="bisiness" id="bisiness">
					<%=select%>
				</select>
			 </td>
		</tr>
		
		<tr>
		  <td align="right" width="20%">所在部门<font color="red">*</font></td>
		  <td width="28%">
			 <input type="text" name="depart" id="depart" size="30" maxlength="50" />	
		  </td>
		  <td width="12%" align="right">职位类别<font color="red">*</font></td>
		  <td width="50%">
			<select name="career_type" id="career_type" style="width:200px" >
				<%=career_type%>
			</select>
		  </td>
		</tr>

		<tr>
		  <td align="right" width="20%">职位名称<font color="red">*</font></td>
		  <td width="28%">
			<input type="text" name="career" id="career" size="30" maxlength="50" />
		  </td>
		  <td width="12%" align="right">工作时间<font color="red">*</font></td>
		  <td width="50%">
			 <input type="text" name="work_date" id="work_date" size="30" maxlength="50" />	  
		  </td>
		</tr>

		<tr>
			<td align="right" width="20%">
				 职位月薪（税前）<font color="red">*</font>
			</td>
			<td colspan="3">
				<select name="salary" id="salary">
					<%=salary%>
				</select>
			 </td>
		</tr>

		<tr>
			<td align="right" width="20%">
				 工作描述<font color="red">*</font>
			</td>
			<td colspan="3">
				<textarea name="work_desc" id="work_desc" cols="100" rows="10"></textarea>
			</td>
		</tr>

		
	</table>
	
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td align="center">
				<input type="hidden" name="bpm_id" value="5649" />
				<input type="hidden" name="jumpurl" id="jumpurl" value="" />
				<input type="hidden" name="cust_id" id="cust_id" value="<%=cust_id%>" />
				<input type="hidden" name="resume_id" id="resume_id" value="<%=resume_id%>" />
				<input type="hidden" name="work_id" id="work_id" value="<%=work_id%>" />
				<input type="hidden" name="user_id" id="user_id" value="<%=publish_user_id%>" />
				<input type="button" class="button_css" name="Submit3" value="保存并新增工作经验" style="cursor:pointer;" onclick="addexp(1)" />&nbsp;&nbsp;
				<input type="button" class="buttoncss" name="tradeRut" value="保存" onclick="addexp(2)"/>
			</td>
		</tr>
	</table>
	</form>
</body>

</html>

